package example;

public class Eaxmple11 {
    public static void main(String[] args) {
        Thread t1 = new Thread(()->{
            System.out.println(1);
        });
        Thread t2 = new Thread(()->{
            System.out.println(3);
        });
        Thread t3 = new Thread(()->{
            System.out.println(4);
        });

        System.out.println(t1.getName()+" " +t1.getId());
        System.out.println(t2.getName()+" " +t2.getId());
        System.out.println(t3.getName()+" " +t3.getId());
    }
}
